<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增工艺设计')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-design-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">工艺代码：</label>
                <div class="col-sm-8">
                    <input name="technologyCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预置电流上限(A)：</label>
                <div class="col-sm-8">
                    <input name="currentUpperLimit" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预置电流下限(A)：</label>
                <div class="col-sm-8">
                    <input name="currentLowerLimit" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预置电压上限(V)：</label>
                <div class="col-sm-8">
                    <input name="voltageUpperLimit" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预置电压下限(V)：</label>
                <div class="col-sm-8">
                    <input name="voltageLowerLimit" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工艺说明：</label>
                <div class="col-sm-8">
                    <input name="technologyDescription" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物料编码：</label>
                <div class="col-sm-8">
                    <input name="materialCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图号：</label>
                <div class="col-sm-8">
                    <input name="drawingNo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">炉号：</label>
                <div class="col-sm-8">
                    <input name="heatNo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊接接头位置：</label>
                <div class="col-sm-8">
                    <input name="weldingJointPosition" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊材型号：</label>
                <div class="col-sm-8">
                    <input name="weldingMaterialModel" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊材炉号：</label>
                <div class="col-sm-8">
                    <input name="weldHeatNo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊接层数：</label>
                <div class="col-sm-8">
                    <input name="weldingLayers" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊接道次：</label>
                <div class="col-sm-8">
                    <input name="weldingPass" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留1：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare1" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留2：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare2" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留3：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare3" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留4：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare4" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留5：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare5" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "technology/design"
        $("#form-design-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-design-add').serialize());
            }
        }
    </script>
</body>
</html>